package com.fangyi.yunmusic.service;

import com.fangyi.yunmusic.pojo.front.end.FECommentVO;
import com.fangyi.yunmusic.pojo.vo.CommentVO;
import com.fangyi.yunmusic.utils.PagedResult;

import java.util.List;

public interface CommentService {

    public void  publishComment(FECommentVO feCommentVO);

    public void deleteComment(String commentId);

    public PagedResult selectCommentVO(int pageNum, int pageSize,int type,String targetId);

    public void commentLike(String userId,String commentId);

    public void discommentLike(String userId,String commentId);

    public boolean iscommentLiked(String userId,String commentId);

    public int getCommentLikeCount(String id);

    public List<String> getUserIdsFromCommentTarget(FECommentVO feCommentVO);

    public List<CommentVO> getNotReadComments(String userId);
}
